package com.jxmcloud.business.cut.model.json;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import com.jxmcloud.business.cut.handler.Integer2DArrayTypeHandler;
@Data
@TableName(value = "config_invite_award", autoResultMap = true)
public class ConfigInviteAward {
    @TableField("`id`")
    private Integer id;       // 活动ID
    @TableField("`old_award`")
    private Integer oldAward;       // 老用户获取奖励
    @TableField("`new_award`")
    private Integer newAward;       // 新用户活动奖励
    @TableField(value = "`old_award_item`", typeHandler = Integer2DArrayTypeHandler.class)
    private Integer[][] oldAwardItem;       // 老用户获取奖励
    @TableField(value = "`new_award_item`", typeHandler = Integer2DArrayTypeHandler.class)
    private Integer[][] newAwardItem;       // 新用户活动奖励
}